﻿using System;
using System.Collections.Generic;
using System.Text;
using AgencyManagerSystem.Model;
using AgencyManagerSystem.DataUpdater;
using AgencyManagerSystem.Common;
using AgencyManagerSystem.DataFetcher;

namespace AgencyManagerSystem.Core
{
    public class CodeIncrementUpdaterCreator : BaseUpdaterCreator<CodeIncrementModel>
    {
        public CodeIncrementUpdater CreateCodeIncrementUpdaterInstance()
        {
            CodeIncrementUpdater updater = new CodeIncrementUpdater(new CodeIncrementFetcher());
            updater.DataUpdating += FlagAndApproveFlagValid;
            return updater;
        }
    }
}
